package com.framework.util;

import com.framework.manager.MessageManager;

/**
 * @Description: TODO
 * @Author: xiaoche
 * @Date: 2022/10/29 15:01
 */
public class MessageUtil {

    public static MessageManager messageManager = SpringContextUtil.getBean(MessageManager.class);

    public static String getMessage(String code) {
        return messageManager.getChinaMessage(code);
    }

}
